﻿using CefSharp.WinForms.Example;
using DevExpress.Skins;
using DevExpress.Utils;
using MyCef.cfg;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace MyCef
{
    static class Program
    {
        /// <summary>
        /// 应用程序的主入口点。
        /// </summary>
        [STAThread]
        static void Main()
        {
          //  Application.EnableVisualStyles();
         //   Application.SetCompatibleTextRenderingDefault(false);
         //   MyCefSettings.SetCef();
         //   Application.Run(new BrowserForm());

            MyCefSettings.SetCef();
            SkinManager.EnableFormSkins();
            BrowserEmulationHelper.DisableBrowserEmulation(Assembly.GetEntryAssembly().GetName().Name);
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            new MainForm().Show();
            Application.Run();
        }
    }
}
